package com.book.derecated.state;

import org.springframework.stereotype.Component;

/**
 * @param
 * @author oyz
 * @version 1.0.4
 * @description: 被观察者具体实现类
 * @date 2023/12/4 21:49
 */
@Component
public class DeprecatedSendOrder extends DeprecatedAbstractOrderState{


    @Override
    protected DeprecatedOrder sendOrder(String orderId, DeprecatedOrderContext context) {
         super.notifyObserver(orderId, ORDER_WAIT_RECEIVE);
         return null;
    }

}
